/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.mer.entity;

import org.hibernate.validator.constraints.Length;

import com.kaaction.common.persistence.DataEntity;

/**
 * 标签管理Entity
 * @author ZengBiao
 * @version 2017-06-19
 */
public class MerTag extends DataEntity<MerTag> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 名称
	private String note;		// 备注
	
	public MerTag() {
		super();
	}

	public MerTag(String id){
		super(id);
	}

	@Length(min=1, max=64, message="名称长度必须介于 1 和 64 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}
	
}